{__NOLAYOUT__}
<div class="filter-select">
    <p>全部显示</p>
    <select>
        <option value="0">全部显示</option>
        <option value="1">电子课件</option>
        <option value="2">教学视频</option>
        <if condition="$ms == 2">
            <option value="3">个人资源</option>
        </if>
        <option value="4">微课</option>
        <if condition="$m == 2 && iskey">
            <option value="5">电子教案</option>
        </if>
        <option value="6">图片素材</option>
        <option value="7">视频素材</option>
        <option value="8">其他素材</option>
    </select>
</div>

<div class="card-group clearfix">
    <h2 class="con-title mb-20">电子课件</h2>
    <volist name="kj" id="vo" empty="$empty">
        <!-- 项目列表 块  start -->
        <div class="card-box">
            <div class="card-box-content">
                <div class="card-img">
                    <a href="index.php?m=Index&a=pdf&file={$vo.wswj.val}" target="_blank">
                        <img src="__PUBLIC__/dist/image/img.jpg" data-src="http://hgedu.fjhgkj.com{$vo.dzkjylt.val}">
                        <div class="backdrop"></div>
                        <i class="icon icon-plays"></i>
                    </a>
                </div>
                <div class="card-title text-ellipsis">
                    <a href="index.php?m=Index&a=pdf&file={$vo.wswj.val}" target="_blank">{$vo.title.val}</a>
                </div>
            </div>
        </div>
        <!-- 项目列表 块  end -->
    </volist>
</div>
<div class="card-group clearfix">
    <h2 class="con-title mb-20">教学视频</h2>

    <if condition="$rwempty == 0 && iskey">
        <!-- 没有任务 -->
        {$empty}
        <else />
        <volist name="rw" id="vo" empty="$empty">
            <foreach name="vo['rwsp']['val']" item="v">
                <!-- 项目列表 块  start -->
                <div class="card-box">
                    <div class="card-box-content">
                        <div class="card-img">
                            <a href="index.php?m=Index&a=video&file={$v.file}" target="_blank">
                                <img src="__PUBLIC__/dist/image/img.jpg" data-src="http://hgedu.fjhgkj.com{$vo.rwspylt.val}">
                                <div class="backdrop"></div>
                                <i class="icon icon-plays"></i>
                            </a>
                        </div>
                        <div class="card-title text-ellipsis">
                            <a href="index.php?m=Index&a=video&file={$v.file}" target="_blank">{$vo.title.val}</a>
                        </div>
                    </div>
                </div>
                <!-- 项目列表 块  end -->
            </foreach>
        </volist>
    </if>
</div>
<!-- <if condition="$ms == 2"> -->
<div class="card-group clearfix">
    <h2 class="con-title mb-20">个人资源</h2>
    <!-- 项目列表 块  start -->
    <volist name="as['list']" id="vo" empty="$empty">
        <div class="list-down clearfix">
            <ul>
                <li>
                    <p class="title text-ellipsis">
                        {$vo.filename}
                    </p>
                </li>
            </ul>
        </div>
        <!-- 项目列表 块  end -->
    </volist>
</div>
<!-- </if> -->
<div class="card-group clearfix">
    <h2 class="con-title mb-20">微课</h2>
    <volist name="wk" id="vo" empty="$empty">
        <!-- 项目列表 块  start -->
        <div class="card-box">
            <div class="card-box-content">
                <div class="card-img">
                    <a href="index.php?m=Index&a=video&file={$vo.wksp.val}" target="_blank">
                        <img src="__PUBLIC__/dist/image/img.jpg" data-src="http://hgedu.fjhgkj.com{$vo.wktp.val}" alt="{$vo.title.val}">
                        <div class="backdrop"></div>
                        <i class="icon icon-plays"></i>
                    </a>
                </div>
                <div class="card-title text-ellipsis">
                    <a href="index.php?m=Index&a=video&file={$vo.wksp.val}" target="_blank">{$vo.title.val}</a>
                </div>
            </div>
        </div>
        <!-- 项目列表 块  end -->
    </volist>

</div>
<if condition="$m == 2 && iskey">

    <div class="card-group clearfix">
        <h2 class="con-title mb-20">电子教案</h2>
        <volist name="bo['list']" id="vo" empty="$empty">
            <!-- 项目列表 块  start -->
            <div class="card-box">
                <div class="card-box-content">
                    <div class="card-img">
                        <a href="index.php?m=Index&a=pdf&file={$vo.filepath}" target="_blank">
                            <img src="__PUBLIC__/dist/image/xm2.jpg">
                            <div class="backdrop"></div>
                            <i class="icon icon-plays"></i>
                        </a>
                    </div>
                    <div class="card-title text-ellipsis">
                        <a href="index.php?m=Index&a=pdf&file={$vo.filepath}" target="_blank">{$vo.filename}</a>
                    </div>
                </div>
            </div>
            <!-- 项目列表 块  end -->
        </volist>
    </div>
</if>
<div class="card-group clearfix imgbox">
    <h2 class="con-title mb-20">图片素材</h2>
    <volist name="sc" id="vo" empty="$empty">
        <foreach name="vo['scwj']['val']" item="v">
            <if condition="$v['type'] == 'img'">
                <!-- 项目列表 块  start -->
                <div class="card-box">
                    <div class="card-box-content">
                        <div class="card-img">
                            <img data-image="{$v.file}" data-title="{$vo.title.val}" data-time="{$vo.createtime.val|date='Y-m-d',###}" data-content="{$vo.scjj.val}"
                                src="__PUBLIC__/dist/image/img.jpg" data-src="{$v.file}">
                        </div>
                    </div>
                </div>
                <!-- 项目列表 块  end -->
            </if>
        </foreach>

    </volist>
</div>
<div class="card-group clearfix">
    <h2 class="con-title mb-20">视频素材</h2>
    <volist name="sc" id="vo" empty="$empty">
        <foreach name="vo['scwj']['val']" item="v">
            <if condition="$v['type'] == 'video'">
                <!-- 项目列表 块  start -->
                <div class="card-box">
                    <div class="card-box-content">
                        <div class="card-img">
                            <a href="index.php?m=Index&a=video&file={$v.file}" target="_blank" title="{$vo.title.val}">
                                <img src="__PUBLIC__/dist/image/img.jpg" data-src="{$vo.scylt.val}">
                                <div class="backdrop"></div>
                                <i class="icon icon-plays"></i>
                            </a>
                        </div>
                        <div class="card-title text-ellipsis">
                            <a href="index.php?m=Index&a=video&file={$v.file}" target="_blank" title="{$vo.title.val}" target="_blank">{$vo.title.val}{$v.name}</a>
                        </div>
                    </div>
                </div>
                <!-- 项目列表 块  end -->
            </if>
        </foreach>
    </volist>
</div>
<div class="card-group clearfix">
    <h2 class="con-title mb-20">其他素材</h2>
    <div class="list-down clearfix">
        <ul>
            <volist name="sc" id="vo" empty="$empty">
                <foreach name="vo['scwj']['val']" item="v">
                    <if condition="$v['type'] != 'video'&&$v['type'] != 'img'">
                        <li>
                            <p class="title text-ellipsis">{$vo.title.val}{$v.name}</p>
                        </li>

                    </if>
                </foreach>
            </volist>
        </ul>
    </div>
</div>